<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2023-04-10
  Time: 8:57
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>add</title>
</head>
<body>
<h1>添加商品</h1>
<form action="/product/create" method="post" enctype="multipart/form-data">
    <input type="text" name="title" placeholder="TITLE" required value="笔记本电脑">
    <select name="type">
        <option value="自营">自营</option>
        <option value="第三方">第三方</option>
    </select>
    <br>
    <textarea name="description" cols="30" rows="5" placeholder="DESCRIPTION">请描述一下商品</textarea>
    <br>
    <input type="number" min="0.00" max="9999.99" step="0.01" name="originalPrice" placeholder="originalPrice"
           value="1234.67">
    <br>
    <input type="number" min="0.00" max="9999.99" step="0.01" name=" currentPrice" placeholder=" currentPrice"
           value="998.12">
    <br>
    <input type="file" name="file" required>
    <br>
    <input type="submit" value="添加">

</form>
</body>
</html>
